Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE-708] change @Transactional readOnly for select query #709

Closed
wants to merge 3 commits into from

Conversation

kihwankim
Copy link
Contributor

Motivation

  • in spring data jpa SimpleJpaRepository class declare @Transactional but in select query they put readOnly true

Modifications

  • spring data KotlinJdslJpqlExecutor class's @Transactional readOnly option changed(false -> true) for select query

Result

  • in select query readOnly option changed true -> false

Closes

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.01%. Comparing base (3735006) to head (04c8bf1).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #709   +/-   ##
=======================================
  Coverage   92.01%   92.01%           
=======================================
  Files         335      335           
  Lines        3419     3419           
  Branches      203      203           
=======================================
  Hits         3146     3146           
  Misses        213      213           
  Partials       60       60           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shouwn
Copy link
Member

shouwn commented May 20, 2024

Did you create a PR on the main branch because you think this change should be released as a hotfix?

If not, please change the base branch to the develop branch.

@kihwankim kihwankim changed the base branch from main to develop May 20, 2024 04:09
@kihwankim
Copy link
Contributor Author

kihwankim commented May 20, 2024

@shouwn I changed

@shouwn
Copy link
Member

shouwn commented May 20, 2024

@kihwankim Thanks for the change.

The branch change caused a conflict, please check it out or create a new PR.

@kihwankim
Copy link
Contributor Author

@shouwn I created new pr #710
plz check it

@kihwankim kihwankim closed this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Question] KotlinJdslJpqlExecutor interface functions
4 participants